package com.bw.mvvm_comom.network;

import org.jetbrains.annotations.NotNull;

import io.reactivex.functions.Function;

public class ChangeFunction<T,BaseEntity> implements Function<T, BaseEntity> {
    @Override
    public BaseEntity apply(@NotNull T t) throws Exception {
        return (BaseEntity) t;
    }
}
